package com.edu.common.entity;


import java.util.List;

public class Course {

  private long id;
  private String courseName;
  private String brief;
  private double price;
  private String priceTag;
  private double discounts;
  private String discountsTag;
  private String courseDescriptionMarkDown;
  private String courseDescription;
  private String courseImgUrl;
  private long isNew;
  private String isNewDes;
  private long lastOperatorId;
  private java.sql.Timestamp autoOnlineTime;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;
  private long isDel;
  private long totalDuration;
  private long status;
  private long sortNum;
  private String previewFirstField;
  private String previewSecondField;
  private long sales;
  private long typeId;
  private long orientationId;
  private long teacherId;

  //老师
  private CourseTeacher courseTeacher;
  //方向
  private CourseOrientation courseOrientation;
  //类型
  private CourseType courseType;
  //活动
  private CourseActivity courseActivity;
  //多个章节
  private List<CourseSection> courseSections;

  public CourseTeacher getCourseTeacher() {
    return courseTeacher;
  }

  public void setCourseTeacher(CourseTeacher courseTeacher) {
    this.courseTeacher = courseTeacher;
  }

  public CourseOrientation getCourseOrientation() {
    return courseOrientation;
  }

  public void setCourseOrientation(CourseOrientation courseOrientation) {
    this.courseOrientation = courseOrientation;
  }

  public CourseType getCourseType() {
    return courseType;
  }

  public void setCourseType(CourseType courseType) {
    this.courseType = courseType;
  }

  public CourseActivity getCourseActivity() {
    return courseActivity;
  }

  public void setCourseActivity(CourseActivity courseActivity) {
    this.courseActivity = courseActivity;
  }

  public List<CourseSection> getCourseSections() {
    return courseSections;
  }

  public void setCourseSections(List<CourseSection> courseSections) {
    this.courseSections = courseSections;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }


  public String getBrief() {
    return brief;
  }

  public void setBrief(String brief) {
    this.brief = brief;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public String getPriceTag() {
    return priceTag;
  }

  public void setPriceTag(String priceTag) {
    this.priceTag = priceTag;
  }


  public double getDiscounts() {
    return discounts;
  }

  public void setDiscounts(double discounts) {
    this.discounts = discounts;
  }


  public String getDiscountsTag() {
    return discountsTag;
  }

  public void setDiscountsTag(String discountsTag) {
    this.discountsTag = discountsTag;
  }


  public String getCourseDescriptionMarkDown() {
    return courseDescriptionMarkDown;
  }

  public void setCourseDescriptionMarkDown(String courseDescriptionMarkDown) {
    this.courseDescriptionMarkDown = courseDescriptionMarkDown;
  }


  public String getCourseDescription() {
    return courseDescription;
  }

  public void setCourseDescription(String courseDescription) {
    this.courseDescription = courseDescription;
  }


  public String getCourseImgUrl() {
    return courseImgUrl;
  }

  public void setCourseImgUrl(String courseImgUrl) {
    this.courseImgUrl = courseImgUrl;
  }


  public long getIsNew() {
    return isNew;
  }

  public void setIsNew(long isNew) {
    this.isNew = isNew;
  }


  public String getIsNewDes() {
    return isNewDes;
  }

  public void setIsNewDes(String isNewDes) {
    this.isNewDes = isNewDes;
  }


  public long getLastOperatorId() {
    return lastOperatorId;
  }

  public void setLastOperatorId(long lastOperatorId) {
    this.lastOperatorId = lastOperatorId;
  }


  public java.sql.Timestamp getAutoOnlineTime() {
    return autoOnlineTime;
  }

  public void setAutoOnlineTime(java.sql.Timestamp autoOnlineTime) {
    this.autoOnlineTime = autoOnlineTime;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public java.sql.Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.sql.Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  public long getIsDel() {
    return isDel;
  }

  public void setIsDel(long isDel) {
    this.isDel = isDel;
  }


  public long getTotalDuration() {
    return totalDuration;
  }

  public void setTotalDuration(long totalDuration) {
    this.totalDuration = totalDuration;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }


  public long getSortNum() {
    return sortNum;
  }

  public void setSortNum(long sortNum) {
    this.sortNum = sortNum;
  }


  public String getPreviewFirstField() {
    return previewFirstField;
  }

  public void setPreviewFirstField(String previewFirstField) {
    this.previewFirstField = previewFirstField;
  }


  public String getPreviewSecondField() {
    return previewSecondField;
  }

  public void setPreviewSecondField(String previewSecondField) {
    this.previewSecondField = previewSecondField;
  }


  public long getSales() {
    return sales;
  }

  public void setSales(long sales) {
    this.sales = sales;
  }


  public long getTypeId() {
    return typeId;
  }

  public void setTypeId(long typeId) {
    this.typeId = typeId;
  }


  public long getOrientationId() {
    return orientationId;
  }

  public void setOrientationId(long orientationId) {
    this.orientationId = orientationId;
  }


  public long getTeacherId() {
    return teacherId;
  }

  public void setTeacherId(long teacherId) {
    this.teacherId = teacherId;
  }

  @Override
  public String toString() {
    return "Course{" +
            "id=" + id +
            ", courseName='" + courseName + '\'' +
            ", brief='" + brief + '\'' +
            ", price=" + price +
            ", priceTag='" + priceTag + '\'' +
            ", discounts=" + discounts +
            ", discountsTag='" + discountsTag + '\'' +
            ", courseDescriptionMarkDown='" + courseDescriptionMarkDown + '\'' +
            ", courseDescription='" + courseDescription + '\'' +
            ", courseImgUrl='" + courseImgUrl + '\'' +
            ", isNew=" + isNew +
            ", isNewDes='" + isNewDes + '\'' +
            ", lastOperatorId=" + lastOperatorId +
            ", autoOnlineTime=" + autoOnlineTime +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", isDel=" + isDel +
            ", totalDuration=" + totalDuration +
            ", status=" + status +
            ", sortNum=" + sortNum +
            ", previewFirstField='" + previewFirstField + '\'' +
            ", previewSecondField='" + previewSecondField + '\'' +
            ", sales=" + sales +
            ", typeId=" + typeId +
            ", orientationId=" + orientationId +
            ", teacherId=" + teacherId +
            ", courseTeacher=" + courseTeacher +
            ", courseOrientation=" + courseOrientation +
            ", courseType=" + courseType +
            ", courseActivity=" + courseActivity +
            ", courseSections=" + courseSections +
            '}';
  }
}
